import requst from '@/utils/request.ts'
//获取行为日志
export const getactionlogs=function getactionlogs(data: any){
    return requst({
        url:'/api/Logs/GetActionLogs',
        params:data,
        methoh:'get'
    })
}
//获取行为日志类型
export const getActionTypes=function getActionTypes(data: any){
    return requst({
        url:'/api/Logs/GetActionTypes',
        params:data,
        methoh:'get'
    })
}
//获取登录日志
export const getLoginLogs=function getLoginLogs(data: any){
    return requst({
        url:'/api/Logs/GetLoginLogs',
        params:data,
        methoh:'get'
    })
}
//获取错误日志
export const getErrors=function getErrors(data: any){
    return requst({
        url:'/api/Logs/GetErrors',
        params:data,
        methoh:'get'
    })
}